package com.alumni_circle.entity.home;

import com.alumni_circle.core.entity.BaseDO;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

/**
 * @author  龙小虬
 * @create  2020-07-04 11:09
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Component
@ApiModel(value = "News")
public class News extends BaseDO {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "顺序")
    private String sequence;

    @ApiModelProperty(value = "置顶")
    private String top;

    @ApiModelProperty(value = "删除")
    @TableLogic
    private String state;

}